package edu.taru.service.impl;

import edu.taru.mapper.HeaderMapper;
import edu.taru.pojo.Header;
import edu.taru.service.HeaderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HeaderServiceImpl implements HeaderService {
    @Autowired
    HeaderMapper headerMapper;
    @Override
    public int insertPhoto(Header header) {
        return headerMapper.insertPhoto(header);
    }

    @Override
    public Header selectPhoto(String userid) {
        return headerMapper.selectPhoto(userid);
    }
}
